package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author yanglin
 * @create 2023-11-08 16:14 星期三
 * description:
 */
@Mapper
public interface PaymentDao {
    
    int add(Payment payment);
    
    Payment getPaymentById(@Param("id") Long id);
}
